<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>导出PDF</title>
		<style>
			body {color: #333333; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif; font-size: 13px;line-height: 1.5; word-wrap: break-word;}
			h2{text-align:center;padding:0;margin:0; font-size:18px;height:39px;}
			.pdf-table{border:1px solid #333333; border-collapse: collapse;width:100%}
			.pdf-table td{border:1px solid #333333;border-collapse: collapse; padding:5px; line-height:1.5;}
			.pdf-td-gray{background-color:#f5f5f5; text-align:right; width:90px;}
		</style>
	</head>
	<body>
	<h2>用章使用审批单</h2>
	<table class="pdf-table">
		<tr>
			<td class="pdf-td-gray">审批主题</td>
			<td colspan="3">{$detail.title|default='-'}</td>
			<td class="pdf-td-gray">印章类型</td>
			<td>{$detail.seal_cate|default='-'}</td>
		</tr>
		<tr>
			<td class="pdf-td-gray">盖章次数</td>
			<td>{$detail.num}</td>
			<td class="pdf-td-gray">用印部门</td>
			<td>{$detail.use_dname|default='-'}</td>
			<td class="pdf-td-gray">预期用印日期</td>
			<td>{$detail.use_time|date='Y-m-d'}</td>
		</tr>
		<tr>
			<td class="pdf-td-gray">印章是否外借</td>
			<td>
				{eq name="$detail.is_borrow" value="0"}否{/eq}
				{eq name="$detail.is_borrow" value="1"}是{/eq}
			</td>
			<td class="pdf-td-gray">印章借用日期</td>
			<td>{$detail.start_time|default='-'}</td>
			<td class="pdf-td-gray">结束借用日期</td>
			<td>{$detail.end_time|default='-'}</td>
		</tr>
		<tr>
			<td class="pdf-td-gray" style="vertical-align:top;">盖章内容</td>
			<td colspan="5">{:nl2br($detail.content)}</td>
		</tr>
		{eq name="detail.check_status" value="2"}
		<tr>
			<td class="pdf-td-gray">用章状态</td>
			<td colspan="5">{$detail.status_str}</td>
		</tr>
		{/eq}	
		{notempty name="$detail.file_array"}
		<tr>
			<td class="pdf-td-gray">相关附件</td>
			<td colspan="5">
				{volist name="$detail.file_array" id="vo"}
				<div>{$i}、{$vo.name}</div>
				{/volist}
			</td>
		</tr>
		{/notempty}
	</table>
	{include file="export/pdf_check" /}
	</body>
</html>